package com.itheima.ui;

import com.hzheima.game.GameJFrame;
import com.hzheima.util.ImageUtil;
import com.itheima.config.AppConfig;

import java.awt.*;

public class BallFightFrame extends GameJFrame {
    public BallFightFrame() throws HeadlessException {
        setTitle("球球大作战");
        setIconImage(ImageUtil.getImg("logo.png"));
        setSize(AppConfig.App_WIDTH,AppConfig.App_HIGHT);
        setLocation(450,0);
    }
}
